﻿using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using SingleUserMall.Authorization.Users;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SingleUserMall.Orders.VO
{
    [AutoMapFrom(typeof(GroupOrderDetail))]
    public class GroupOrderDetailMiniVO:EntityDto<long>
    {
        internal User inUser { get; set; }
        /// <summary>
        /// 头像
        /// </summary>
        public string Avatar => inUser?.Avatar;
        /// <summary>
        /// 姓名
        /// </summary>
        public string Name => inUser?.Name;
    }
}
